// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import MuseUI from 'muse-ui'
import 'muse-ui/dist/muse-ui.css'
import echarts from 'echarts'
//数据交互
import axios from 'axios'
import Qs from 'qs'
import {post, fetch, patch, put} from './util/request'
import filters from './util/filters'
Vue.config.productionTip = false
Vue.prototype.$axios = axios

Vue.prototype.$echarts = echarts
Vue.prototype.$post = post
Vue.prototype.$fetch = fetch
Vue.prototype.$patch = patch
Vue.prototype.$put = put
Vue.prototype.$http = axios

Vue.use(MuseUI)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
